package Java.com;

public class WhileExample1 {
	public static void main(String[] args) {
		// While the condition is true,then do something.
		int value = 3;
		while (value<100) {			
			// While the value is less than 10,the loop is working
			while (value < 10) {
				System.out.println("Value=" + value);
			}
			// Increase value by adding 2
			value = value + 2;
		}
	}
}

